﻿using System;
using System.IO;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace InstallerBD
{
    public class SQLScript
    {
        public SQLScript(string filename)
        {
            FileName = filename;
            Stream stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(filename);
            using (StreamReader reader = new StreamReader(stream))
            {
                Content= reader.ReadToEnd();
            }


        }

        public string FileName { get; set; }

        public string Content { get; set; }
    }
}
